[mirrors]
http://pkgs.fedoraproject.org/repo/pkgs/midori/midori_0.5.5_all_.tar.bz2/b99e87d4b73a4732ed1c1e591f0242ac/midori_0.5.5_all_.tar.bz2
http://www.mirrorservice.org/sites/download.salixos.org/i486/14.1/source/xap/midori/midori_0.5.5_all_.tar.bz2

[vars]
filesize=1092309
sha512=89d1ddb461af460a83744cc761989d430750dcef9565ac98960c1c87e6082ebb35e61c4f21f28891a19119e2733dc8a6440bc51c0bd206c37ac068e434fc0231
tardir=midori-0.5.5

[deps]
librsvg
webkitgtk1

[deps.host]
python
vala

[build]
patch -p1 < "$K"/midori-no-notify.patch

rm extensions/devpet.vala

DISABLE_NOTIFY=1 ./configure  --prefix="$butch_install_dir" --disable-docs --disable-apidocs \
	--disable-unique --disable-granite --disable-tests --disable-gtk3 \
	--disable-webkit2 --disable-zeitgeist
make -j$MAKE_THREADS
make DESTDIR="/" install
dest="$butch_install_dir""$butch_prefix"
install -m644 -D _build/icons/48x48/midori.png "$dest"/share/pixmaps/midori.png
